package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class GoodsPhoto implements Serializable {
    private Integer photoId;

    private Integer goodsId;

    private String url;

    private Integer sort;

    private Date createTime;

    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public GoodsPhoto(Integer photoId, Integer goodsId, String url, Integer sort, Date createTime, Integer isDel) {
        this.photoId = photoId;
        this.goodsId = goodsId;
        this.url = url;
        this.sort = sort;
        this.createTime = createTime;
        this.isDel = isDel;
    }

    public GoodsPhoto() {
        super();
    }

    public Integer getPhotoId() {
        return photoId;
    }

    public void setPhotoId(Integer photoId) {
        this.photoId = photoId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}